home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 27 / CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso / CUCD / PowerPC / vbcc / Examples / mixedbinary / main.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-02  |  230 b   |  15 lines

  1. #include <powerpc/powerpc.h>
  2.  
  3. extern void m68k(void (*)(),...);
  4.  
  5. extern void print_ppc(char *);
  6. extern void print_68k(char *);
  7.  
  8.  
  9. main()
  10. {
  11.   print_ppc("PPC: Hello World!\n");
  12.   m68k(print_68k,"M68k: Hello World!\n");
  13.   exit (0);
  14. }
  15.